<!DOCTYPE html>
<html>
<head>
    <meta charset=utf8>
    <script src="../../jpp/jquery/jquery-1.7.2.min.js"></script>
    <script src="../../jpp/jquery/plugins/jquery.cookies-2.2.0.min.js"></script>
    <script src="../../jpp/md5/md5-1.0.min.js"></script>
    <script src="../../jpp/socket.io/io-0.9.4.min.js"></script>
    <script src="../../jpp/openlayers/openlayers-2.11.min.js"></script>
    <script src="../../jpp/openlayers/plugins/weolstk-0.1.min.js"></script>
    <script src='../../jpp/weiran/weiran-1.2.min.js'></script>
    <script src='../../jpp/weiran/plugins/weos-1.2.min.js'></script>

    <style>html, body, #weiran {margin: 0; width: 100%; height: 100%;} </style>

<script>
    var os;
    function addApps(os) {
        os.getMainPanel().addApp(new Weiran.App());
        os.getMainPanel().addApp(new Weiran.App());
        os.getMainPanel().addApp(new Weiran.App());
    }

    $(document).ready(function(){
        os = new Weiran.OS('weiran', 'http://127.0.0.1:2080/');
        os.themeHost = "../../fanghuanweiran/branches/theme/";
        os.theme = 'default';
        os.boot();
        addApps(os);
    });
</script>
</head>
<body>
    <div id='weiran'></div>
</body>
</html>
